package org.example.aienglishapp_login.dto.login;

import jakarta.validation.constraints.*;

public class AddUserRequestDTO {

    @NotBlank
    @Size(max = 20)
    private String userName;

    @NotBlank
    @Size(min = 8)
    private String userPassword;

    @Size(max = 20)
    private String nickname;

    private String gender;

    @Min(0)
    @Max(150)
    private Integer age;

    // Getters and Setters
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}